import request from '@/utils/request'

export function register(registerData) {
    return request({
        url: '/admin/register',
        method: 'post',
        data: registerData
    })
}
export function sendSms(phoneNumber) {
    return request({
        url: '/sendSms',
        method: 'post',
        params:{"phoneNumber":phoneNumber},
    })
}
export function vertifyCode(phoneNumber,code) {
    return request({
        url: '/vertifyCode',
        method: 'post',
        params:{"phoneNumber":phoneNumber,"code":code},
    })
}
